CREATE PROCEDURE coreRegistryGetChildrenFor
(
	@pid int
)
AS
SELECT * FROM Registry WHERE FK_ParentID=@pid